POV-Ray : Newsgroups : povray.binaries.scene-files : Light: Looks-Alike Problem : Light: Looks-Alike Problem Server Time
1 Sep 2024 12:19:46 EDT (-0400)
  Light: Looks-Alike Problem  
From: Sven Littkowski
Date: 12 Nov 2006 08:21:07
Message: <45571fc3@news.povray.org>
Hi everyone!

I have a problem with the Looks_Alike feature of light sources. Please see 
here an excerpt of my code:

#declare Signal=sphere // Signal Light
{
 < 0.0, 0, 0.0 > 0.05
 pigment { rgb < 0.8117647,  0.8941176,  0.5607843 > * 10 }
 finish { ambient 1.0 }
// no_shadow
}

#declare SignalLight=light_source
 {
  < 0.0, 0.0, 0.0 > color rgb < 0.8117647,  0.8941176,  0.5607843 > * 100
  looks_like { Signal }
  fade_distance 0.9
  fade_power 3.0
 }

Okay. When I now place such a "Signal Light" object, there is still no light 
effect. If I remove the Looks_Alike, the light is there. What is it I do 
wrong?

Thanks for your help.

Sven


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.